<xsl:stylesheet version="1.0" 
	xmlns:date="http://exslt.org/dates-and-times"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
	xmlns:ebe="http://cks/ebemethods"
  exclude-result-prefixes="date ebe">

<xsl:param name="IsBlogOwner" />
<xsl:param name="RelativeUrl" />

<xsl:output omit-xml-declaration="yes" />

<xsl:template match="/">
	<xsl:if test="$IsBlogOwner = 'True'">
		<xsl:apply-templates select="AdminLinks"/>
	</xsl:if>
</xsl:template>

<xsl:template match="AdminLinks">
	
	<div id="blogadmin">
		<h3>
      <xsl:value-of select="ebe:res('BlogAdmin')"/>
    </h3>
			<a href="{@CreatePosts}"><xsl:value-of select="ebe:res('CreatePost')"/></a><br/>
			<a href="{@CreateCategories}"><xsl:value-of select="ebe:res('CreateCategory')"/></a><br/>
			<a href="{@Posts}"><xsl:value-of select="ebe:res('ManagePosts')"/></a><br/>
			<a href="{@Comments}"><xsl:value-of select="ebe:res('ManageComments')"/></a><br/>
			<a href="{@Categories}"><xsl:value-of select="ebe:res('ManageCategories')"/></a><br/>
			<a href="{@Links}"><xsl:value-of select="ebe:res('ManageLinks')"/></a><br/>
			<a href="{$RelativeUrl}/_layouts/cks/ebe/settings.aspx"><xsl:value-of select="ebe:res('BlogSettings')"/></a>
	</div>

</xsl:template>
  
</xsl:stylesheet>